<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <title>CSS测试</title>
    <style type="text/css">
        .a1 {text-align: left;background: blue;color: aliceblue}
        #b1 {background: white;color: black}
    </style>
</head>
<body>
    <p>用户：<input type="text" class="a1"></p>
    <p>密码：<input type="text" class="a1"></p>
    <p>备注：<textarea class="a1" id="b1"></textarea></p>
</body>
</html>